package com.guo.todo.common.response;

/**
 * @Auther: hotlove_linx
 * @Date: 2022/4/16 17:27
 * @Description:
 */
public enum ResultEnum {

    SUCCESS("1000", "请求成功"),
    FAIL("2000", "请求失败"),
    INVALID_TOKEN("2001", "token失效"),
    PARAM_ERROR("3000", "参数错误");

    private String code;

    private String message;

    ResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
